package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.Members;

import java.util.List;


public interface MembersService {
    PageInfo<Members> findByPage(int pageNum, int pageSize, Integer cid, String keyword);

    Members findById(Integer id);

    List<Members> findAll();

    void save(Members members);

    void update(Members members);

    void deleteById(Integer id);

    void deleteBatch(Integer[] ids);
}